package GUI;

import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.JLabel;
import javax.swing.JButton;
import java.awt.Color;

public class LogInPanel extends JPanel{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	JTextField textField;
	JTextField textField_1;
	JButton btnSubmit;
	JLabel lblNewLabel;
	
	public LogInPanel() {
		setBackground(Color.WHITE);
		setLayout(null);
		
		textField = new JTextField();
		textField.setBounds(187, 96, 134, 20);
		add(textField);
		textField.setColumns(10);
		
		textField_1 = new JTextField();
		textField_1.setBounds(187, 140, 134, 20);
		add(textField_1);
		textField_1.setColumns(10);
		
		JLabel lblUserName = new JLabel("User Name:");
		lblUserName.setBounds(50, 99, 82, 14);
		add(lblUserName);
		
		JLabel lblPassword = new JLabel("Password:");
		lblPassword.setBounds(50, 143, 82, 14);
		add(lblPassword);
		
		btnSubmit = new JButton("Submit");
		btnSubmit.setBounds(232, 194, 89, 23);
		add(btnSubmit);
		
		lblNewLabel = new JLabel("");
		lblNewLabel.setForeground(Color.RED);
		lblNewLabel.setBounds(50, 241, 271, 23);
		add(lblNewLabel);
	}
}
